#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <string.h>
//int main()
//{
//	int a, b,c;
//	scanf("%d%d%d", &a, &b, &c);
//	printf("score1=%d",a);
//	printf(",score2=%d",b);
//	printf(",score3=%d",c);
//	return 0;
//}
int main()
{
	int a = 0;
	double b = 0.0 ;
	double c = 0.0;
	double d = 0.0;
	scanf("%d;%lf,%lf,%lf", &a, &b, &c, &d);
	b = (int)(b * 100 + 0.5) / 100.0;
	c = (int)(c * 100 + 0.5) / 100.0;
	d = (int)(d * 100 + 0.5) / 100.0;
    printf("The each subject score of No. %d is %4.2lf, %4.2lf, %4.2lf.",a,b,c,d);
	return 0;
}

